<template>
  <div class="container">
    <el-row type="flex" class="row-bg" justify="space-between" align="middle">
      <el-col :span="6"><h1>体检套餐管理</h1></el-col>
    </el-row>
    <el-tabs v-model="activeName" @tab-click="handleClick">
      <el-tab-pane label="体检套餐" name="second">
        <Health_check_up_package></Health_check_up_package>
      </el-tab-pane>
      <el-tab-pane label="体检项目" name="first">
        <Physical_examination_items></Physical_examination_items>
      </el-tab-pane>
      <el-tab-pane label="套餐类型" name="third">
        <Package_type></Package_type>
      </el-tab-pane>
    </el-tabs>

  </div>
</template>
<script>
import Health_check_up_package from "@/views/physical_examination/Health_check_up_package.vue"
import Physical_examination_items from "./Physical_examination_items.vue"
import Package_type from "./Package_type.vue"

export default {
  components: {
    Health_check_up_package,
    Physical_examination_items,
    Package_type
  },
  data() {
    return {
      activeName: 'second'
    };
  },
  methods: {
    handleClick(tab, event) {
      console.log(tab, event);
    }
  }
};
</script>

<style scoped>

</style>
